<%@ page import="java.util.ArrayList" %>
<%@ page import="pom.Activity" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/12/23
  Time: 15:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    ArrayList arrayList=null;
    arrayList =(ArrayList)request.getAttribute("b");

%>
<html>
<head>
    <title>详情</title>
    <style>
       h1{
           text-align: center;
       }
        .b1{
            padding: 30px 30px;
            background-color: white;
            margin: auto auto;
            height: 700px;
            width: 60%;
            opacity: 60%;
        }
        li{
            line-height: 30px;
        }
    </style>
</head>
<body>

<%for(int i=0;i<arrayList.size();i++){
    Activity activity=(Activity) arrayList.get(i);
%>
<div class="b1">
    <h1><%=activity.getActname()%></h1>
    <ul>
        <li>创建人:<%=activity.getPlanner()%></li>
        <li>成员:<%=activity.getMember()%></li>
        <li>活动编号:<%=activity.getActid()%></li>
        <li>活动内容:<%=activity.getActivityContent()%></li>
        <li>活动时间:<%=activity.getActtime()%></li>
        <li>举办地点:<%=activity.getActplace()%></li>

    </ul>
    </div>
<%}%>

</body>
</html>
